package com.myframe.web.person;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.myframe.service.PersonService;
@Controller 
@RequestMapping("/person")
public class PersonAction {
    @Autowired
    PersonService personService;
    @RequestMapping("/personSave")
    public String savePerson(){
        personService.savePerson();
        return "index";
    }

}
